﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "GcmpDevService.h"

#include <string>


namespace gcmp
{

// 应用程序级别错误码。


    class GCMP_DEV_SERVICE_EXPORT ErrorUtil
    {
    public:


        static int GetLastSystemErrorCode();
        static void GetLastSystemErrorMessageByCode(int errorCode, std::wstring& message);

    };




}


